package com.bfsoft.springbootinit.pojo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * (功能表)SYS_FUNCTION
 * </p>
 *
 * @author xxx
 * @since 2024-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("SYS_FUNCTION")
public class SysFunction implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableField("ID")
    private String id;

    /**
     * 功能点类型
     */
    @TableField("FUNCTION_TYPE")
    private String functionType;

    /**
     * 功能点名称
     */
    @TableField("FUNCTION_NAME")
    private String functionName;

    /**
     * 功能点编码
     */
    @TableField("FUNCTION_CODE")
    private String functionCode;

    /**
     * 备注
     */
    @TableField("REMARKS")
    private String remarks;

    /**
     * 创建人
     */
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改人
     */
    @TableField(value = "UPDATE_BY",fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    /**
     * 修改时间
     */
    @TableField(value = "UPDATE_TIME",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 逻辑删除
     */
    @TableLogic
    @TableField(value = "DEL_FLAG",fill = FieldFill.INSERT)
    private String delFlag;

    /**
     * 父code
     */
    @TableField("PARENT_CODE")
    private String parentCode;

    @TableField("SORT")
    private Integer sort;


}
